<?php

class Default_Model_DbTable_Resources extends Zend_Db_Table
{
	protected $_name = 'resources';

	protected $_primary =  array('id');
	public function getById($id)
	{
		$rowSet = $this->find($id);
		return $rowSet->current();
	}
}
